/**
 * Created by Administrator on 2017/9/3.
 */
function query(str,callback) {
    ajax({
        cross_domain:true,
        url:"http://tingapi.ting.baidu.com/v2/restserver/ting",
        data:{
            method:"baidu.ting.search.catalogSug",
            query:str,
            callback:callback
        }
    })
}
function get_lrc(id,callback) {
    ajax({
        cross_domain:true,
        url:"http://tingapi.ting.baidu.com/v2/restserver/ting",
        data:{
            method:"baidu.ting.song.lry",
            songid:id,
            callback:callback
        }
    })
}
function audio_play(id,callback) {

    ajax({
        cross_domain:true,
        url:"http://tingapi.ting.baidu.com/v2/restserver/ting",
        data:{
            method:"baidu.ting.song.play",
            songid:id,
            callback:callback
        }
    })
}
//276867440
//?&query=%E5%88%98%E5%BE%B7%E5%8D%8E